home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Headers / misckit / MiscUniqueStringArray.h < prev    next >
Encoding:
Text File  |  1994-12-10  |  830 b   |  30 lines

  1. //
  2. //    MiscUniqueStringArray.h -- never stores duplicates of the same string...
  3. //        Written by Bill Bumgarner
  4. //        Copyright (c) 1994 by Bill Bumgarner.
  5. //                Version 1.0.  All rights reserved.
  6. //        This notice may not be removed from this source code.
  7. //
  8. //    This object is included in the MiscKit by permission from the author
  9. //    and its use is governed by the MiscKit license, found in the file
  10. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  11. //    for a list of all applicable permissions and restrictions.
  12. //    
  13.  
  14. @interface MiscUniqueStringArray : MiscStringArray
  15. {
  16.     NXHashTable *uniqueStringHash;
  17. }
  18.  
  19. - init;
  20. - free;
  21.  
  22. - addString:(const char *)aString;
  23. - removeString:(const char *)aString;
  24. - insertString:(const char *)aString at:(unsigned int)index;
  25.  
  26. - (BOOL) isMember:(const char *)aString;
  27.  
  28. - awake;
  29. @end
  30.